<?php 
require 'ViewModel.php';
class Controller{
	protected $viewmodel;
	function __Construct(){
		$this ->viewmodel =new 
		ViewModel($_GET['c'].'/'.$_GET['m'].'.php');
	}
	public function assign ($var,$value){

		$this->viewmodel->assign($var,$value);
	}
	public function display (){
		$this->viewmodel->display();
	}

}
?>

